package ar.com.drconta.ganancias.sampleeditors;

import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IEditorSite;
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.part.EditorPart;

public class EclipseEditorPartTest extends EditorPart {
	public static final String ID = "com.test.RcpEditorPart"; //$NON-NLS-1$    public RcpEditorPart() {

	@Override
	public void createPartControl(Composite parent) {
		Composite container = new Composite(parent, SWT.NONE);
	}

	@Override
	// Set the focus
	public void setFocus() {

	}

	// Do the Save operation
	@Override
	public void doSave(IProgressMonitor monitor) {

	}

	// Do the Save As operation
	@Override
	public void doSaveAs() {

	}

	// Initialize the editor part
	@Override
	public void init(IEditorSite site, IEditorInput input)
			throws PartInitException {
	}

	@Override
	public boolean isDirty() {
		return false;
	}

	@Override
	public boolean isSaveAsAllowed() {
		return false;
	}
}